home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 48
/
MOBICLIC 48.ISO
/
pc
/
DATA
/
COMMUNS
/
M_BLUE_WINDOW.dir
/
00045_Script_GESTION_BARRE
< prev
next >
Wrap
Text File
|
2002-07-23
|
1KB
|
44 lines
global gL_MagicWindoz_lok
property p_cettePiste, p_Nodepiste,p_nom_Acteur, memRect
----------------------------------
on beginsprite me
p_Nodepiste = me.spriteNum
p_cettePiste = sprite(p_Nodepiste)
p_nom_Acteur = p_cettePiste.member.name
end
-----------------------------------
on mouseEnter
if the pauseState = 1 then exit
cursor 260
updateStage
end
---------------------------------
on mouseLeave
if the pauseState = 1 then exit
cursor -1
end
-----------------------------------
on mouseDown
if the pauseState = 1 then exit
memMouseLoc = the mouseLoc
memRect = gL_MagicWindoz_lok[4]
repeat while the mouseDown
zepoint = the mouseLoc
delta = zepoint - memMouseLoc
if delta <> point(0,0) then
delta_rect = rect(delta[1],delta[2],delta[1],delta[2])
memRect = memRect + delta_rect
memMouseLoc = zepoint
end if
end repeat
cursor 290
end
-----------------------------------
on mouseUp
if the pauseState = 1 then exit
window("BLUE_WINDOW").rect = memRect
gL_MagicWindoz_lok[4] = memRect
cursor 260
end
-----------------------------------